package com.wzdigit.wms.basic.mapper.core.basic;

import com.wzdigit.framework.orm.mybatis.MyBatisRepository;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@MyBatisRepository
public interface SystemMapper {
	
	@Select("SELECT COUNT(1) FROM USER_TAB_COLUMNS WHERE TABLE_NAME = #{tableName} AND COLUMN_NAME = #{column}")
    boolean existsColumn(@Param("tableName") String tableName, @Param("column") String column);
}
